std::char_traits::to_int_type

From cppreference.com
char_type to_int_type( char_type a );
(until C++11)
constexpr char_type to_int_type( char_type a );
(since C++11)

Converts a value of char_type to int_type.

Contents

[edit] Parameters

a - value to convert

[edit] Return value

A value equivalent to a.

[edit] Exceptions

noexcept specification:  
noexcept
  (since C++11)

[edit] Complexity

Constant.